import request from '@/utils/request'

// 查询权限汇总列表
export function listAuthStatus(query) {
  return request({
    url: '/member/authStatus/list',
    method: 'get',
    params: query
  })
}

// 查询权限汇总详细
export function getAuthStatus(id) {
  return request({
    url: '/member/authStatus/' + id,
    method: 'get'
  })
}

// 新增权限汇总
export function addAuthStatus(data) {
  return request({
    url: '/member/authStatus',
    method: 'post',
    data: data
  })
}

// 修改权限汇总
export function updateAuthStatus(data) {
  return request({
    url: '/member/authStatus',
    method: 'put',
    data: data
  })
}

// 删除权限汇总
export function delAuthStatus(id) {
  return request({
    url: '/member/authStatus/' + id,
    method: 'delete'
  })
}
